<!-- {include file="header.html"} -->
<div id="currentPosition">
	<p>{lang your_current_position} {lang templet} &raquo; {lang nav}</p>
</div>
<div id="rightTop"> 
    <h3>{lang nav}</h3> 
    <ul class="subnav">
		<li><a href="nav.php">{lang management}</a></li>
        <li><a class="btn1" href="nav.php?do=edit"><span>{lang add_or_edit}</span></a></li>
    </ul>
</div>
<div class="info">
  <form method="post" action="nav.php" id="EditFrm" name="edit_frm">
  <input type="hidden" name="id" value="{$item.id}" />
  <input type="hidden" name="page" value="{$smarty.get.page}" />
    <table class="infoTable">
	{if $item.id}
      <tr>
        <th class="paddingT15">{lang serial_number}{lang colon}</th>
        <td class="paddingT15 wordSpacing5">{$item.id}</td>
      </tr>
	{else}
      <tr>
        <th class="paddingT15">{lang serial_number}{lang colon}</th>
        <td class="paddingT15 wordSpacing5"><input class="infoTableInput2" name="data[nav][id]" value="" /></td>
      </tr>
	{/if}	
      <tr>
        <th class="paddingT15"> {lang title}{lang colon}</th>
        <td class="paddingT15 wordSpacing5">          
		<input class="infoTableInput2" name="data[nav][name]" value="{$item.name}" /></td>
      </tr>
      <tr>
        <th class="paddingT15">{lang display_order}</th>
        <td class="paddingT15 wordSpacing5"><input class="infoTableInput2" name="data[nav][display_order]" value="{$item.display_order}" type="text" /></td>
      </tr>
      <tr>
        <th class="paddingT15">{lang whether_or} {lang show_it}</th>
        <td class="paddingT15 wordSpacing5"><!--{html_radios name="data[nav][status]" options=$AskAction checked=$item.status|default:1 separator=""}--></td>
      </tr>
      <tr>
        <th class="paddingT15"> {lang link_url}</th>
        <td class="paddingT15 wordSpacing5"><input class="infoTableInput2" name="data[nav][url]" value="{$item.url}" type="text" /><label class="field_notice">{lang only_need_relative_url}</label></td>
      </tr>
      <tr>
        <th class="paddingT15"> {lang notes}</th>
        <td class="paddingT15 wordSpacing5"><textarea style="width:550px;height:100px;" name="data[nav][description]">{$item.description}</textarea></td>
      </tr>
      <tr>
        <th></th>
        <td class="ptb20">
			<input class="formbtn" type="submit" name="save" value="{lang save_and_pub}" />		</td>
      </tr>
    </table>
  </form>
</div>
<!-- {include file="footer.html"} -->